﻿namespace ExFlash.Records
{
    public class ShapeWithStyle : Shape
    {
        public ShapeWithStyle(ShapeType type)
            : base(type)
        {

        }

        public override void SwfDeserialize(BinaryBitReader reader)
        {
            FillStyles = new FillStyleArray(ShapeType);
            FillStyles.SwfDeserialize(reader);

            LineStyles = new LineStyleArray(ShapeType);
            LineStyles.SwfDeserialize(reader);

            base.SwfDeserialize(reader);
        }
    }
}
